]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Compare indicator and grid pages
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 25 May 2020 19:52:43 +0000 (16:52 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 18 Jun 2020 13:54:31 +0000 (10:54 -0300)
commitaa70020bc807ef5d6f4b3a554eb998dcd36cf84a
tree8a2119c1d665ec9de06ebe960cf3d694fab9c1f0
parent1e77e6fc79efd2f4f1e02eb42095921cdb6cebd5
appDisplay: Compare indicator and grid pages

In the past, the icon grid would update the number of pages
during the call to adaptToSize(). However, after the new grid
layout landed, the number of pages is updated by the time an
item is added or removed.

Instead of comparing the old and new number of pages in the
icon grid, compare the pages shown by the indicator, and the
grid pages.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271
js/ui/appDisplay.js